package website.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import website.domain.Message;
import website.domain.ResModel;

import java.util.List;

public interface MessageService extends IService<Message> {
    ResModel issue(Message message);

    ResModel<List<Message>> getList();

    ResModel<IPage<Message>> getByPage(Integer current, Integer size);

    ResModel delMsg(Integer id);
}
